home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
a_utils
/
yacc
/
occam.lha
/
occam
/
Makefile
next >
Wrap
Makefile
|
1989-08-22
|
981b
|
44 lines
#
# Makefile for occam recogniser - pjmp @ hrc 22/7/86
#
#
# This work is in the public domain.
# It was written by Peter Polkinghorne in 1986 & 1989 at
# GEC Hirst Research Centre, Wembley, England.
# No liability is accepted or warranty given by the Author,
# still less my employers.
#
# sys V like flags
#CFLAGS=-g -O
#YFLAGS=-vdt
# BSD like flags
CFLAGS=-O
YFLAGS=-dv
all: occam occam2
occam: occam.o occamlex.o
cc $(CFLAGS) occam.o occamlex.o -o occam
occam.c: occam.y
yacc $(YFLAGS) occam.y
mv y.tab.h lex.h
mv y.tab.c occam.c
occam2: occam2.o occam2lex.o
cc $(CFLAGS) occam2.o occam2lex.o -o occam2
occam2.c: occam2.y
yacc $(YFLAGS) occam2.y
mv y.tab.h lex2.h
mv y.tab.c occam2.c
clean:
rm -f *.o occam2.c occam.c lex2.h lex.h y.output
shar: README Makefile occam.y occamlex.c occam2.y occam2lex.c test1 test2 test3 test4
shar2 -v -s -x -c README Makefile occam.y occamlex.c occam2.y occam2lex.c test1 test2 test3 test4 > shar